package cn.itcast.service;

import reactor.core.publisher.Flux;

/**
 * @author wys
 * @version V1.0
 * @date 2025-04-20 10:13
 */
public interface ChatService {

    /**
     * 流式聊天
     *
     * @param question  用户提问
     * @param sessionId 对话id
     * @return 大模型的回答
     */
    Flux<String> chatStream(String question, String sessionId);
}
